package com.sky.loveshop.entity.qo;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author xcy
 * @version V1.0
 * @description
 * @date 2024/8/25 2:11
 */
@Data
public class StockParam {

    /** 类型 (1增加|0减少) */
    @NotNull(message = "类型type(1增加|0减少)不能为空")
    private Integer type;

    /** 数量 */
    @NotNull(message = "数量不能为空")
    private Integer num;

    /** skuId **/
    @NotNull(message = "skuId不能为空")
    private Integer skuId;

    @NotNull(message = "userId不能为空")
    private Integer userId;

}
